package com.example.xpvideo.entity;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 商品单位表(LsGoodsUnit)实体类
 *
 * @author 杨丽辉
 * @since 2021-08-16 11:17:13
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsGoodsUnit implements Serializable {
    private static final long serialVersionUID = 622088200751603313L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
        private Integer id;

    /**
    * 名称
    * isnull 0
    */            private String name;
    /**
    * 排序
    * isnull 0
    */            private Integer sort;
    /**
    * 创建时间
    * isnull 0
    */            private Integer createTime;
    /**
    * 修改时间
    * isnull 0
    */            private Integer updateTime;
    /**
    * 是否删除,0-未删除,1-已删除
    * isnull 0
    */            private Integer del;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
        
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
        
    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }
        
    public Integer getDel() {
        return del;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"name\":" + name +
                            " ,\"sort\":" + sort +
                            " ,\"createTime\":" + createTime +
                            " ,\"updateTime\":" + updateTime +
                            " ,\"del\":" + del +
                  '}';
    }


}
